<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${site.name} - Powered by JavaCMS</title>

<link rel="stylesheet" type="text/css" href="/${mobileRes!}/css/index.css">

<link href="${resSys}/front.css" rel="stylesheet" type="text/css"/>
<link href="${resSys}/jqueryUI/jquery.ui.css" rel="stylesheet" type="text/css"/>
<script src="${resSys}/jquery.js" type="text/javascript"></script>
<script src="${resSys}/jqueryUI/jquery-ui.js" type="text/javascript"></script>
<script src="${resSys}/front.js" type="text/javascript"></script>
<script src="/${res}/js/common.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	Cms.siteFlow("${base}", location.href, document.referrer);
});
</script>
</head>

<body>
<div class="viewport">
  [#include "../include/header_wldc.html" /]
    <div class="vote-result">   
    <div class="back-vote-result"><a href="${base}/vote_result.jspx?voteId=${subTopic.voteTopic.id}" target="_blank">返回</a></div>     
    <div class="tptitle1" style=" margin:10px auto;">
        投票主题：<span class="red">${subTopic.voteTopic.title?html}</span><p>总参与人数：<span class="red">${subTopic.voteTopic.totalCount}</span>人<p>
        
    </div>
    
    <form id="tableForm" action="vote_reply_view.jspx" method="get">
    [#if pagination.list?size gt 0]
    <div class="tplistCon">
    <ul>
    [#list pagination.list as c]
    <li>${c.reply?html}</li>
    [/#list]
    </ul>
    </div>
    <input type="hidden" name="subId" value="${subTopic.id}">
    <input type="hidden" name="pageNo"/>
    <div class="clear"></div>
    <table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" class="pn-sp">
                共 ${pagination.totalCount} 条&nbsp;
                每页 ${pagination.pageSize} 条&nbsp;
                <input type="button" value="首 页" onclick="_gotoPage('1');"[#if pagination.firstPage] disabled="disabled"[/#if]/>
                <input type="button" value="上一页" onclick="_gotoPage('${pagination.prePage}');"[#if pagination.firstPage] disabled="disabled"[/#if]/>
                <input type="button" value="下一页" onclick="_gotoPage('${pagination.nextPage}');"[#if pagination.lastPage] disabled="disabled"[/#if]/>
                <input type="button" value="尾 页" onclick="_gotoPage('${pagination.totalPage}');"[#if pagination.lastPage] disabled="disabled"[/#if]/>&nbsp;
                当前 ${pagination.pageNo}/${pagination.totalPage} 页 &nbsp;转到第<input type="text" id="_goPs" style="width:50px" onfocus="this.select();" onkeypress="if(event.keyCode==13){$('#_goPage').click();return false;}"/>页
                <input id="_goPage" type="button" value="转" onclick="_gotoPage($('#_goPs').val());"[#if pagination.totalPage==1] disabled="disabled"[/#if]/>
            </td>
            </tr>
    </table>
    <div class="clear-10"></div>
    <script type="text/javascript">
    function _gotoPage(pageNo) {
        try{
            var tableForm = document.getElementById("tableForm");
            $("input[name=pageNo]").val(pageNo);
            tableForm.submit();
        } catch(e) {
            alert('_gotoPage(pageNo)方法出错');
        }
    }
    </script>
    [#else]
        <div>暂无回复</div>
    [/#if]
    </form>
    </div>
</div>
</body>
</html>